<!doctype html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title><?php echo $title; ?></title>
        <link href="<?php echo base_url(); ?>content/login.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url(); ?>content/jquery-impromptu.css" rel="stylesheet" type="text/css" />
        <script src="<?php echo base_url(); ?>script/external/jquery-1.8.3.min.js" type="text/javascript"></script>
        <script src="<?php echo base_url(); ?>script/external/jquery-impromptu.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(function () {
                //提示信息
                $.ajax({
                    url: <?php echo '"' . site_url('C_Login/ajax_alert') . '"'; ?>,
                    type: 'POST',
                    success: function (data) {
                        if (data != "null" && data != "") {
                            $.prompt("<span style='color:#FF0000'>"+data+"</span>", {
                                title: "提示",
                                buttons: { "确定": true},
                                timeout:5000
                            });
                            $.post(<?php echo '"' . site_url('C_Login/ajax_clear') . '"'; ?>);
                        }
                    },
                    error: function (msg) {
                        alert("数据出错！");
                    }
                });
            });
        </script>
    </head>

    <body>
        <div class="top">
            <div class="logo">
            </div>
        </div>
        <div class="center">
            <div class="login_tab">
                <?php echo form_open('C_Login/index'); ?>
                <table style="width: 240px; height: 156px" border="0" align="center">
                    <tr>
                        <td width="58px" height="70">
                            用户名：
                        </td>
                        <td width="172px">
                            <input id="user_name" name="user_name" type="text" id="account" />
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 58px; height: 45px">
                            密<span style="padding-left: 14px"></span>码：
                        </td>
                        <td>
                            <input id="user_password" name="user_password" type="password" id="password" />
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 45px" colspan="2" align="left">
                            <label>
                                <input type="submit" id="butLogin" name="button" class="button" value="登  录" />
                            </label>
                        </td>
                    </tr>
                </table>

                <? echo form_close(); ?>
            </div>
        </div>
        <div class="foot">
            <p>
            </p>
        </div>
    </body>
</body>

</html>
